package com.sky.com.sky.service;

import com.sky.vo.BusinessDataVO;
import com.sky.vo.DishOverViewVO;
import com.sky.vo.OrderOverViewVO;
import com.sky.vo.SetmealOverViewVO;

import java.time.LocalDate;

public interface WorkspaceService {

    // 今日数据
    BusinessDataVO getBusinessData(LocalDate begin,LocalDate end);

    // 订单管理
    OrderOverViewVO getOverviewOrders(LocalDate currentDate);

    // 查询菜品总览
    DishOverViewVO getDishOverView();

    // 查询套餐总览
    SetmealOverViewVO getSetmealOverView();


    /**
     * 根据时间段统计营业数据
     * @param begin
     * @param end
     * @return
     */
    BusinessDataVO getBusinessData1(LocalDate begin, LocalDate end);

    /**
     * 查询订单管理数据
     * @return
     * **/
    OrderOverViewVO getOrderOverView();

    // 今日数据
    BusinessDataVO getBusinessData2(LocalDate currentDate);
}
